package ServerThreads;

/**
 *
 * Class description goes here.
 *
 * @author Kamil Gajowy
 */
public class MyThread extends Thread {

    /**
     * 
     */
    protected boolean serverRunning;

    /**
    * Default constructor.
     * @param name
     */
    public MyThread(String name){
        super(name);
        this.serverRunning = true;
    }

    @Override
    public void run(){}

    public void stopMe(){
        serverRunning = false;
        System.out.println("\t\t closing thread " + this.getName());
    }

}//end class
